package com.xintonghua.bussiness.util;

import java.util.List;
import java.util.Set;

/**
 * List工具类
 * @author Jiang
 *
 */
public class ListUtil {
	public static <T> boolean isNullOrEmpty(List<T> list) {
		if (list == null || list.size()==0) {
			return true;
		}

		return false;
	}

	public static <T> boolean isNullOrEmpty(Set<T> list) {
		if (list == null || list.size()==0) {
			return true;
		}
		return false;
	}
}
